package com.glodon.paas.account.dao.mongo;

import com.glodon.paas.account.dao.AddressDao;
import com.glodon.paas.account.dao.domain.AddressEntity;
import com.google.code.morphia.query.Query;

public class AddressDaoMongoImpl  extends MongoDBDao<AddressEntity, String> implements AddressDao {

	@Override
	public void update(AddressEntity address) {
		Query<AddressEntity> q = this.createQuery().filter("id =", address.getId());
		super.update(q, address);
	}

}
